import request from '@/utils/request'

// 获取分区
interface ReportData {
  startTime?: string | null,
  endTime?: string | null,
  type?: string | null,
  name?: string | null,
  barYardCode?: string | null,
  barSectionCode?: string | null,
  skipCount: number,
  maxResultCount: number,
}

// 获取报表信息
export function getReportListApi (data: ReportData) {
  return request({
    // url: '/api1/api/services/app/SafetyDetailRecordService/SearchSafetyDetailPage',
    url: '/api1/api/app/gas/safetyDetailPage',
    method: 'get',
    params: data
  })
}
